<include file="{$head}" />
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="{$index}">列表</a></li>
        <li><a href="{$add}">添加</a></li>
    </ul>
    <form class=" well form-inline margin-top-20" method="get" action="{$index}">
        标题名称:
        <input type="text" class="form-control" name="name" style="width:150px;" value="{$q_name}" placeholder="请输入标题名称">

        <input type="submit" class="btn btn-primary" value="搜索" />
        <a class="btn btn-danger" href="{$index}">清空</a>
    </form>
    <table class="table table-hover table-bordered table-list">
        <thead>
        <tr>
        <foreach name="fields" item="vo">
            <th>{$vo.COLUMN_COMMENT}</th>
        </foreach>        
            <th width="150">{:lang('ACTIONS')}</th>
        </tr>
        </thead>
        <tbody>        
        {$foreach}
            <tr>
            <foreach name="fields" item="v">
                <td>{$v.field}</td>
            </foreach>
                <td>
                    <a class="btn btn-xs btn-info" href="{$show}">查看</a>
                    <a class="btn btn-xs btn-primary" href="{$edit}">编辑</a>
                    <a class="btn btn-xs btn-danger js-ajax-delete" href="{$delete}">删除</a>
                </td>
            </tr>
       {$foreachEnd}       
        </tbody>
    </table>
    <div class="pagination">{$page}</div>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>
</body>
</html>
